﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Table 的摘要说明
/// </summary>
public class Table
{
    int m_iID ;
    int m_iResID;
    int m_iSeatNum ;
    int m_iAttributeID;
    float m_fAverageCost;

    public Table()
	{

        m_iID = -1;
        m_iResID = -1;
        m_iSeatNum = 0;
        m_iAttributeID = -1;
        m_fAverageCost = 0;
        

		//
		// TODO: 在此处添加构造函数逻辑
		//
	}
    //这是餐位类所提供的设置 和获取其属性的函数
    
    public void SetResID(int iIn)
    {
        m_iResID = iIn;


    }
    public int GetResID()
    {
        return m_iResID;
    }

    public void SetID(int iIn)
    {
        m_iID = iIn;


    }
    public void SetSeatNum(int iIn)
    {
        m_iSeatNum = iIn;


    }
    public int GetSeatNum()
    {
        return m_iSeatNum;
    }

    public void SetAttributeID(int  iIn)
    {
        m_iAttributeID = iIn;


    }
    public int GetAttributeID()
    {
        return m_iAttributeID;
    }

    public void SetAverageCost(int iIn)
    {
        m_fAverageCost = iIn;


    }
    public float GetAverageCost()
    {
        return m_fAverageCost;
    }

   


    public int GetID()
    {
        return m_iID;
    }
    
    
    
	
}
